package org.springblade.modules.admin.entity.feishu;

import lombok.Getter;
import lombok.Setter;

/**
 * @author: Sharry
 * @createTime: 2025-02-25 18:20
 * @version: Version-1.0
 */
@Getter
@Setter
public class LarkFaultRiskTemplateContent {

	private String content;

	public LarkFaultRiskTemplateContent(){
		this.content = "{\n" +
			"    \"config\": {\n" +
			"        \"update_multi\": true\n" +
			"    },\n" +
			"    \"i18n_elements\": {\n" +
			"        \"zh_cn\": [\n" +
			"            %s \n" +
			"            {\n" +
			"                \"tag\": \"action\",\n" +
			"                \"actions\": [\n" +
			"                    {\n" +
			"                        \"tag\": \"button\",\n" +
			"                        \"text\": {\n" +
			"                            \"tag\": \"plain_text\",\n" +
			"                            \"content\": \"查看详情\"\n" +
			"                        },\n" +
			"                        \"type\": \"default\",\n" +
			"                        \"width\": \"fill\",\n" +
			"                        \"size\": \"medium\",\n" +
			"                        \"behaviors\": [\n" +
			"                            {\n" +
			"                                \"type\": \"open_url\",\n" +
			"                                \"default_url\": \"%s\",\n" +
			"                                \"pc_url\": \"%s\",\n" +
			"                                \"ios_url\": \"%s\",\n" +
			"                                \"android_url\": \"%s\"\n" +
			"                            }\n" +
			"                        ]\n" +
			"                    }\n" +
			"                ]\n" +
			"            }\n" +
			"        ]\n" +
			"    },\n";
	}


}
